package com.sample.api;

import com.sample.api.domain.OrderReqVO;
import com.sample.api.domain.OrderRespVO;
import com.swak.annotation.ApiDoc;
import com.swak.annotation.Post;
import com.swak.annotation.RestService;
import com.swak.entity.Result;

/**
 * 订单 API
 * 
 * @author DELL
 */
@RestService(path = "/api/order", value = "OrderApi")
public class OrderApi {

	/**
	 * Hello.
	 * 
	 * @return
	 */
	@ApiDoc(module = "订单", function = "订单下单", describe = "订单下单，单个商品的下单!")
	@Post("/book")
	public Result<OrderRespVO> bookOrder(OrderReqVO req) {
		return Result.success(new OrderRespVO());
	}
}
